import App from './App'

// 导入 store 实例
import store from './store';

// 导入 goToUrl 
import goToUrl from 'common/goToUrl.js';
Vue.prototype.$goToUrl = goToUrl

// 校验挂载到vue
import {checkFrom} from '@/utils/dataUtil.js'
Vue.prototype.$checkFrom = checkFrom

// 导入uview-ui
import uView from 'uview-ui';
Vue.use(uView);

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
